package com.appkubes.portal.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.portal.core.dao.BasePortalAppMenuRoleDao;
import com.appkubes.portal.core.entity.PortalAppMenuRole;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface BasePortalAppMenuRoleService extends AbstractBaseService<BasePortalAppMenuRoleDao, PortalAppMenuRole> {

    PortalAppMenuRole getOneByEntity(PortalAppMenuRole entity);

    List<PortalAppMenuRole> selectListByEntity(PortalAppMenuRole entity);

    IPage<PortalAppMenuRole> selectPageByEntity(IPage<PortalAppMenuRole> page);
    IPage<PortalAppMenuRole> selectPageByEntity(PageVO pageVO);

    IPage<PortalAppMenuRole> selectPageByEntity(PortalAppMenuRole entity, IPage<PortalAppMenuRole> page);
    IPage<PortalAppMenuRole> selectPageByEntity(PortalAppMenuRole entity, PageVO pageVO);

    IPage<PortalAppMenuRole> selectPageByEntity(PortalAppMenuRole entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(PortalAppMenuRole entity);
}
